<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let productDatas = [
        {
          id: 1,
          pname: "美国原装进口 lnstinct生",
          pprice: 448.0,
          imgsrc: "img/7.jpg",
        },
        {
          id: 2,
          pname: "加拿大原装进口 ",
          pprice: 212.0,
          imgsrc: "img/9.jpg",
        },
        {
          id: 3,
          pname: "意大利原装进口 ",
          pprice: 379.0,
          imgsrc: "img/12.jpg",
        },
      ];
      localStorage.setItem("productDatas", JSON.stringify(productDatas));
    </script>
  </body>
</html>
